#include "BasicFuncTest.h"



BasicFuncTest::BasicFuncTest ()
{

}



BasicFuncTest::~BasicFuncTest ()
{

}

void BasicFuncTest::test ()
{
	_heapTest ();
	_heapTestNotObject ();
	_complexObjectTest ();
}

void BasicFuncTest::_heapTest ()
{
	P_TestClassA p_a = NEWOBJ_NONAME (TestClassA);
	_refFunc (p_a);
}

void BasicFuncTest::_refFunc (P_TestClassA p_a)
{

}

void BasicFuncTest::_refFunc (P_TestClassComplex p_c)
{

}

void BasicFuncTest::_heapTestNotObject ()
{
	P_TestClassNotObject p_b = NEWOBJ_NONAME (TestClassNotObject);
	_refFunc (p_b);
}

void BasicFuncTest::_complexObjectTest ()
{
	P_TestClassNotObject p_b = NEWOBJ_NONAME (TestClassNotObject);
	P_TestClassComplex p_c = NEWOBJ_NONAME (TestClassComplex) (p_b);
	_refFunc (p_c);
}

void BasicFuncTest::_refFunc (P_TestClassNotObject p_b)
{

}
